# #数值排序
# grade=[100,90,87,76,98]
# print("原列表",grade)
# grade.sort()
# print("升 序",grade)
# grade.sort(reverse=True)
# print("降 序",grade)
#字符串排序


char=["Angela","Tom","cat","pet"]
char.sort()
print("区分字母大小写",char)
char.sort(key=str.lower)
print("不区分字母大小写",char)